/**
 * @method table表格的标题
 */
export const columns = [
    {
        title: '资产编号',
        dataIndex: 'code',
        slotName: 'code',
        ellipsis: true,
        width: 100,
    },
    {
        title: '资产名称',
        dataIndex: 'name',
        slotName: 'name',
        ellipsis: true,
        width: 110,
    },
    {
        title: '资产版本',
        dataIndex: 'version',
        slotName: 'version',
        ellipsis: true,
        width: 100,
    },
    {
        title: '关联项目',
        dataIndex: 'related_projects_name',
        slotName: 'related_projects_name',
        ellipsis: true,
        width: 100,
    },
    {
        title: '关联凭证',
        dataIndex: 'relation_credential_count',
        slotName: 'relation_credential_count',
        ellipsis: true,
        width: 100,
    },
    {
        title: '成本合计',
        dataIndex: 'asset_cost_total',
        slotName: 'asset_cost_total',
        ellipsis: true,
        width: 100,
    },
    {
        title: '可入表额度',
        dataIndex: 'ru_biao_total',
        slotName: 'ru_biao_total',
        width: 120,
    },
    {
        title: '研发支出费用',
        dataIndex: 'rd_spending',
        slotName: 'rd_spending',
        width: 120,
    },
    {
        title: '更新时间',
        dataIndex: 'update_time',
        slotName: 'update_time',
        width: 180,
    },
    {
        title: '状态',
        dataIndex: 'cost_status',
        slotName: 'cost_status',
        width: 150,
    },
    {
        title: '操作',
        slotName: 'operator',
        width: 200,
        fixed: 'right',
    }
];
export const tableData = [
    {
        id: 1,
        code: '0001',
        name: '资产名称',
        version: 'V1.0',
        related_projects_name: '项目名称',
        relation_credential_count: '2',
        asset_cost_total: '1000',
        ru_biao_total: '1000',
        rd_spending: '1000',
        begin_time: '2021-09-01',
        end_time: '2021-09-01',
        update_time: '2021-09-01',
        cost_status: '已入表',
    },
    {
        id: 2,
        code: '0002',
        name: '资产名称',
        version: 'V1.0',
        related_projects_name: '项目名称',
        relation_credential_count: '2',
        asset_cost_total: '1000',
        ru_biao_total: '1000',
        rd_spending: '1000',
        begin_time: '2021-09-01',
        end_time: '2021-09-01',
        update_time: '2021-09-01',
        cost_status: '待入表',
    }
]



export const showDetailTableData = [
    {
        title: '序号',
        dataIndex: 'index',
        slotName: 'index',
    },
    {
        title: '对应凭证编号',
        dataIndex: 'credential_code'
    },
    {
        title: '会计科目',
        dataIndex: 'accounting_subject'
    },
    {
        title: '明细科目',
        dataIndex: 'accounting_subject_detail'
    },
    {
        title: '实际分摊成本',
        dataIndex: 'actual_allocated_cost',
        slotName: 'actual_allocated_cost',
    },
    {
        title: '入表状态',
        slotName: 'ru_biao_status',
        dataIndex: 'ru_biao_status'
    },
    {
        title: '操作',
        slotName: 'operator',
        dataIndex: 'operator'
    }
]
